package com.ruoyi.dgw.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易_调入对象 deal_fold
 * 
 * @author ll
 * @date 2022-01-06
 */
public class DealFold extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 交易时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dealTime;

    /** 买方 */
    @Excel(name = "买方")
    private String buyer;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 地址(某镇某村) */
    @Excel(name = "地址(某镇某村)")
    private String address;

    /** 数量 */
    @Excel(name = "数量")
    private Long csum;

    /** 耳标号 */
    @Excel(name = "耳标号")
    private String earNumber;

    /** 毛重 */
    @Excel(name = "毛重")
    private String roughWeight;

    /** 单价 */
    @Excel(name = "单价")
    private String unitPrice;

    /** 金额 */
    @Excel(name = "金额")
    private String money;

    /** 买方名称 */
    @Excel(name = "买方名称")
    private String sellerName;

    /** 卖方名称 */
    @Excel(name = "卖方名称")
    private String sellerPhone;

    /** 卖方地址 */
    @Excel(name = "卖方地址")
    private String sellerAddress;

    /** 检验检疫证号 */
    @Excel(name = "检验检疫证号")
    private String certificateNumber;

    /** 承运人 */
    @Excel(name = "承运人")
    private String carrier;

    /** 承运人电话 */
    @Excel(name = "承运人电话")
    private String carrierPhone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlateNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDealTime(Date dealTime) 
    {
        this.dealTime = dealTime;
    }

    public Date getDealTime() 
    {
        return dealTime;
    }
    public void setBuyer(String buyer) 
    {
        this.buyer = buyer;
    }

    public String getBuyer() 
    {
        return buyer;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCsum(Long csum) 
    {
        this.csum = csum;
    }

    public Long getCsum() 
    {
        return csum;
    }
    public void setEarNumber(String earNumber) 
    {
        this.earNumber = earNumber;
    }

    public String getEarNumber() 
    {
        return earNumber;
    }
    public void setRoughWeight(String roughWeight) 
    {
        this.roughWeight = roughWeight;
    }

    public String getRoughWeight() 
    {
        return roughWeight;
    }
    public void setUnitPrice(String unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public String getUnitPrice() 
    {
        return unitPrice;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setSellerName(String sellerName) 
    {
        this.sellerName = sellerName;
    }

    public String getSellerName() 
    {
        return sellerName;
    }
    public void setSellerPhone(String sellerPhone) 
    {
        this.sellerPhone = sellerPhone;
    }

    public String getSellerPhone() 
    {
        return sellerPhone;
    }
    public void setSellerAddress(String sellerAddress) 
    {
        this.sellerAddress = sellerAddress;
    }

    public String getSellerAddress() 
    {
        return sellerAddress;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }
    public void setCarrier(String carrier) 
    {
        this.carrier = carrier;
    }

    public String getCarrier() 
    {
        return carrier;
    }
    public void setCarrierPhone(String carrierPhone) 
    {
        this.carrierPhone = carrierPhone;
    }

    public String getCarrierPhone() 
    {
        return carrierPhone;
    }
    public void setLicensePlateNumber(String licensePlateNumber) 
    {
        this.licensePlateNumber = licensePlateNumber;
    }

    public String getLicensePlateNumber() 
    {
        return licensePlateNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dealTime", getDealTime())
            .append("buyer", getBuyer())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("csum", getCsum())
            .append("earNumber", getEarNumber())
            .append("roughWeight", getRoughWeight())
            .append("unitPrice", getUnitPrice())
            .append("money", getMoney())
            .append("sellerName", getSellerName())
            .append("sellerPhone", getSellerPhone())
            .append("sellerAddress", getSellerAddress())
            .append("certificateNumber", getCertificateNumber())
            .append("carrier", getCarrier())
            .append("carrierPhone", getCarrierPhone())
            .append("licensePlateNumber", getLicensePlateNumber())
            .toString();
    }
}
